Skip to main content

File Exists

Description

File Exists is a Process Entry in the Conditions Plugin for Process Studio Processes. File Exists process entry to verify that a specified file exists on the server on which Process Studio is running. You must provide the file name. Process Studio returns a True or False value depending on whether or not the file exists. The File Exists process entry result could be a trigger or signal to launch a workflow or process

Configurations

No.Field NameDescription
1Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
2FilenameSpecify the input field that will contain the filename at runtime
Note: The field supports regular expressions for the last segment (node) of the file path.
For example, C:\\Users\\Documents\\Project\\files\\file_*.txt, the regular expression will only apply to the file_*.txt segment.
Wild Cards Example:
1. * : Matches zero or more characters in the last segment.
Path: C:\Users\Documents\Project\files\file_*.txt
Explanation: To match any file in the folder, that starts with file_ and has a .txt extension.
2. ? : Matches exactly one character in the last segment.
Path: C:\Users\Documents\Project\files\file_?.txt
Explanation: To match any file in the folder where file_ is followed by exactly one character and ends with .txt, such as file_a.txt, file_1.txt
3. [abc] : Matches any one of the specified characters in the brackets.
Path: C:\Users\Documents\Project\files\file_[abc].txt
Explanation: To match any file in the folder where file_ is followed by a, b, or c and ends with .txt, such as file_a.txt,or file_b.txt, or file_c.txt